package com.data.modules.online.cgform.converter.p010b;

import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.Map;

import com.data.modules.online.cgform.converter.p009a.ConfigConvert;
import com.data.modules.online.cgform.entity.OnlCgformField;
import com.data.modules.online.cgform.constant.LinkDown;

public class LinkDownConverter extends ConfigConvert {

    private String f127f;

    public String getLinkField() {
        return this.f127f;
    }

    public void setLinkField(String linkField) {
        this.f127f = linkField;
    }

    public LinkDownConverter(OnlCgformField onlCgformField) {
        LinkDown aVar = (LinkDown) JSONObject.parseObject(onlCgformField.getDictTable(), LinkDown.class);
        setTable(aVar.getTable());
        setCode(aVar.getKey());
        setText(aVar.getTxt());
        this.f127f = aVar.getLinkField();
    }

    @Override
    public Map<String, String> getConfig() {
        HashMap hashMap = new HashMap();
        hashMap.put("linkField", this.f127f);
        return hashMap;
    }
}
